package com.suray.system.run.seer.http.bean;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

@NoArgsConstructor
@Data
public class SeerAgvTaskInquire {

    @JsonProperty("id")
    private String id;
    @JsonProperty("vehicle")
    private String vehicle;
    @JsonProperty("createTime")
    private Integer createTime;
    @JsonProperty("terminalTime")
    private Integer terminalTime;
    @JsonProperty("state")
    private String state;
    @JsonProperty("blocks")
    private List<BlocksDTO> blocks;
    @JsonProperty("complete")
    private Boolean complete;
    @JsonProperty("msg")
    private String msg;

    @NoArgsConstructor
    @Data
    public static class BlocksDTO {
        @JsonProperty("blockId")
        private String blockId;
        @JsonProperty("state")
        private String state;
        @JsonProperty("result")
        private ResultDTO result;

        @NoArgsConstructor
        @Data
        public static class ResultDTO {
        }
    }
}
